﻿<!DOCTYPE HTML>
<html lang="zh-lang">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="" content="yes" />
    <meta name="" content="black" />
    <link href="~/Content/js/layer/1.9.3/layui.css" rel="stylesheet" />
    <link href="~/Content/css/tokenmall/css/styles.css?t=012" rel="stylesheet" media="all" />
    @*<link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/limonte-sweetalert2/7.21.1/sweetalert2.css" media="all" />*@
    <link href="~/Content/css/sweetalert2.css" rel="stylesheet" />
    <script src="~/Scripts/tokenmall/jquery-1.8.3.min.js"></script>
    <script src="~/Scripts/tokenmall/all.js?v=001"></script>
    <script src="~/Scripts/tokenmall/countDown.js"></script>
    <script src="~/Scripts/dropload.js"></script>
    <script src="~/Content/js/layer/1.9.3/layer.js"></script>
    <script src="~/Scripts/jquery.form.js"></script>
    <title>@ViewBag.Title</title>
    @RenderSection("style", required: false)
</head>

    @RenderBody()

@RenderSection("scripts", required: false)

<script type="text/javascript">
    function inputNumberChange(el, len, min) {
        var num = Number($(el).val());
        if (min != undefined && num < min) {
            $(el).val(min);
            return;
        }
        if (isNaN(num)) {
            $(el).val('');
        } else {
            var numStr = $(el).val();
            if (numStr == '' || numStr == undefined) {
                $(this).val('');
            }
            if (len == 0 && numStr.indexOf('.') > -1) {
                $(el).val('');
            }
            if (numStr.indexOf('.') > -1) {
                if (numStr.indexOf('.') + 1 < numStr.length - len) {
                    $(el).val(num.toFixed(len));
                } else {
                    $(el).val(numStr);
                }
            } else {
                $(el).val(num);
            }
        }

        if (min != undefined && $(el).val() == '') {
            $(el).val(min);
        }
    }

    $(function () {
        $(".product_input_number").bind('input porpertychange', function () {
            inputNumberChange(this, 0, 1);
        });
    })
</script>

<!--判断iOS APP 内嵌浏览器版本-->
<script type="text/javascript">
    var isIOSAppNewBrowser = false
    function wkWebViewInfo(isNewBrowser) {
        if (isNewBrowser == "true") {
            isIOSAppNewBrowser = true;
        }
    }
</script>
<script>
    var _mtac = {};
    (function () {
        var mta = document.createElement("script");
        mta.src = "http://pingjs.qq.com/h5/stats.js?v2.0.2";
        mta.setAttribute("name", "MTAH5");
        mta.setAttribute("sid", "500648580");
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(mta, s);
    })();
</script>
</html>

